package com.coderman.infosys.auth.adapter.convert;

import com.coderman.infosys.auth.adapter.vo.authority.DataAuthorityVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.CreateDataAuthorityRequestVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.UpdateDataAuthorityRequestVO;
import com.coderman.infosys.auth.domain.bo.authority.DataAuthorityBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* @Description:DataAuthorityConvertervobo接口
* @Author:
* @CreateTime:2022-01-04 15:27:39
* @version v1.0
*/
@Mapper
public interface DataAuthorityConverter{
	DataAuthorityConverter INSTANCE = Mappers.getMapper(DataAuthorityConverter.class);

	/**
	 *
	 * @Description:
	 * @return DataAuthorityBO
	 */
	 DataAuthorityBO vo2bo(UpdateDataAuthorityRequestVO updateDataAuthorityRequestVO);
	/**
	 *
	 * @Description:
	 * @return List<DataAuthorityVO>
	 */
	 List<DataAuthorityVO> boList2voList(List<DataAuthorityBO> dataAuthorityBOList);
	/**
	 *
	 * @Description:
	 * @return List<DataAuthorityBO>
	 */
	 List<DataAuthorityBO> volist2boList(List<CreateDataAuthorityRequestVO> createDataAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return DataAuthorityVO
	 */
	 DataAuthorityVO bo2VO(DataAuthorityBO dataAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return DataAuthorityBO
	 */
	 DataAuthorityBO vo2bo(CreateDataAuthorityRequestVO createDataAuthorityRequestVO);
	/**
	 *
	 * @Description:
	 * @return List<DataAuthorityBO>
	 */
	 List<DataAuthorityBO> voList2BoList(List<UpdateDataAuthorityRequestVO> updateDataAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return List<DataAuthorityBO>
	 */
	 List<DataAuthorityBO> VOs2BOs(List<DataAuthorityVO> vOList);
	/**
	 *
	 * @Description:
	 * @return DataAuthorityBO
	 */
	 DataAuthorityBO vo2bo(DataAuthorityVO dataAuthorityVO);
}